<!doctype html>
<html lang="en">
{block name="head"}
<head>
	<meta charset="UTF-8">
	<meta name="viewport"
		  content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>万水千山客栈</title>

	<link href="/static/index/business/css/admin.css" rel="stylesheet" type="text/css">
	<link href="/static/index/business/css/amazeui.css" rel="stylesheet" type="text/css">
	<link href="/static/index/business/css/personal.css" rel="stylesheet" type="text/css">
	<link href="/static/index/business/css/infstyle.css" rel="stylesheet" type="text/css">
	{load href="/static/index/css/bootstrap.min.css"}
	{load href="/static/index/css/footer.css"}
	<link href="/static/index/business/css/stepstyle.css" rel="stylesheet" type="text/css">

    <!--whp-->
	<link href="/static/index/business/css/infstyle.css" rel="stylesheet" type="text/css">
	<link href="/static/index/business/css/cmstyle.css" rel="stylesheet" type="text/css">
	<link href="/static/index/business/css/orstyle.css" rel="stylesheet" type="text/css">
	<!--whp-->


	<script src="/static/index/business/js/jquery.min.js"></script>
</head>
{/block}



<body>
{block name="jqjs"}
<script src="/static/index/business/js/amazeui.js"></script>
{/block}
<!--导航条开始-->
<div class="container-fluid navbar-default ">
	<div class="row">
		<div class="col-md-1"></div>
		<div class="col-md-7">
			<ul class="nav navbar-nav ">
				<li><img src="/static/index/images/log.jpg" style="width:275px;height:50px;"></li>
				<li class="active"><a href="/">首页 <span class="sr-only">(current)</span></a></li>
				{volist name="info" id="vo"}
				<li><a href="/{$vo.href_path}">{$vo.cate_name}</a></li>
				{/volist}
			</ul>
		</div>
		<diV class="col-md-3">
			<ul class="nav navbar-nav navbar-right">
				{if condition="$Request.session.login_admin.user neq ''"}
				<li><a href="{:url('index/login/out')}" class="btn-sm btn-primary ">退出</a></li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{$Request.session.login_admin.user}
						<span class="caret"></span></a>
					<ul class="dropdown-menu">
						<li><a href="{:url('index/personcenter/index')}">个人中心</a></li>
						<li><a href="#">订单管理</a></li>
						<li><a href="#">评论</a></li>
						<li role="separator" class="divider"></li>
						<li><a href="#">Separated link</a></li>
					</ul>
				</li>
				{elseif condition="$Request.session.login_tel.user_phone neq ''" /}
				<li><a href="{:url('index/login/out')}" class="btn-sm btn-primary ">退出</a></li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{$Request.session.login_tel.user_phone}
						<span class="caret"></span></a>
					<ul class="dropdown-menu">
						<li><a href="{:url('index/personcenter/indextel')}">个人中心</a></li>
						<li><a href="#">订单管理</a></li>
						<li><a href="#">评论</a></li>
						<li role="separator" class="divider"></li>
						<li><a href="#">Separated link</a></li>
					</ul>
				</li>
				{else}
				<li><a href="{:url('index/reg/index')}" class="btn-sm btn-primary ">注册</a></li>
				<li><a href="{:url('index/login/index')}"  >登录</a></li>
				{/if}
			</ul>

		</diV>

	</div>

	<!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->

<!--导航条结束-->


<!--资料显示部分开始-->
<div class="center">

{block name="main"}
         {volist name="result" id="vo"}
		<div class="col-main">
			<div class="main-wrap">
				<div class="user-info">
					<!--标题 -->
					<div class="am-cf am-padding">
						<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">个人资料</strong> / <small>Personal&nbsp;information</small></div>
					</div>
					<hr/>

					<!--头像 -->
					<div class="user-infoPic">

						<div class="filePic">
							<img class="am-circle am-img-thumbnail" src="/uploads/person/{$vo['Avatar']}" alt="加载失败" />
						</div>

						<p class="am-form-help">头像</p>

						<div class="info-m">
							<div><b>用户名：<i>{$vo.user}</i></b></div>
							<div class="vip">
								  <span></span><a href="#">会员专享</a>
							</div>
						</div>
					</div>


					<!--个人信息 -->

					<div class="info-main">
						<form class="am-form am-form-horizontal">

							<div class="am-form-group">
								<label for="user-name" class="am-form-label">姓名</label>
								<div class="am-form-content">
									<input type="text" id="user-name2" placeholder="name" value="{$vo.user_name}">

								</div>
							</div>

							<div class="am-form-group">
								<label class="am-form-label">性别</label>
								<div class="am-form-content sex">
									<label class="am-radio-inline">
										{if condition="$vo.sex eq '0'"}女
										{elseif condition="$vo.sex eq '1'" /}男
										{else /} 保密
										{/if}
									</label>

								</div>
							</div>

							<div class="am-form-group">
								<label for="user-birth" class="am-form-label">生日</label>
								<div class="am-form-content birth">
									<div class="birth-select">
										{$vo['birthday']}
									</div>
								</div>

							</div>
							<div class="am-form-group">
								<label for="user-phone" class="am-form-label">电话</label>
								<div class="am-form-content">
									<input id="user-phone" placeholder="telephonenumber" type="tel" value="{$vo['user_phone']}">
								</div>
							</div>
							<div class="am-form-group">
								<label for="user-email" class="am-form-label">电子邮件</label>
								<div class="am-form-content">
									<input id="user-email" placeholder="Email" type="email" value="{$vo.email}">
								</div>
							</div>


							<div class="info-btn">
								<a class="am-btn am-btn-danger" href="{:url('index/personcenter/edit',['id'=>$vo.id])}">完善修改个人资料</a>
							</div>
						</form>
					</div>

				</div>

			</div>
		</div>
	{/volist}

		<!--资料显示部分结束-->
 {/block}
		<!--个人中心订单页列表开始-->
	{block name="lefttitle"}
		<aside class="menu">
			<ul>
				<li class="person active">
					<a href="index.html"><i class="am-icon-user"></i>个人中心</a>
				</li>
				<li class="person">
					<p><i class="am-icon-newspaper-o"></i>发布房源</p>
					<ul>
						<li> <a href="{:url('index/business/index')}">商家认证</a></li>
						<li> <a href="{:url('index/business/create')}">发布房源</a></li>
						<li> <a href="{:url('index/business/houseresource')}">我的房源</a></li>
						<li> <a href="{:url('index/business/information')}">我的商家</a></li>
					</ul>
				</li>
				<li class="person">
					<p><i class="am-icon-newspaper-o"></i>个人资料</p>
					<ul>
						<li> <a href="{:url('index/personcenter/index')}">个人信息</a></li>
						<li> <a href="{:url('index/personcenter/passindex')}">修改密码</a></li>

					</ul>
				</li>
				<li class="person">
					<p><i class="am-icon-balance-scale"></i>我的交易</p>
					<ul>
						<li><a href="{:url('index/ordermanagement/index')}">订单管理</a></li>
						<li> <a href="{:url('index/comment/index')}">评价商品</a></li>
					</ul>
				</li>
				<li class="person">
					<p><i class="am-icon-dollar"></i>我的资产</p>
					<ul>
						<li> <a href="{:url('index/integral/sum')}">我的积分</a></li>
					</ul>
				</li>

				<li class="person">
					<p><i class="am-icon-tags"></i>我的收藏</p>
					<ul>
						<li> <a href="{:url('index/collect/index')}">收藏</a></li>
					</ul>
				</li>

			</ul>
		</aside>
		<!--个人中心订单页列表结束-->
	{/block}
	</div>


<!--footer 友情链接开始-->
	   <div class="footer">
	   <div class="footer-hd">
		   <h6>友情链接：</h6>
		   <p>
			   {volist name="data" id="to"}
			   <a href="{$to['url']}">{$to['webname']}</a>
			   <b>|</b>
			   {/volist}
		   </p>
	   </div>
	   <div class="footer-bd">
		   <p>
			   乐途欢迎你的到来！
			   <em>© 2015-2025 zhoumuhao.com 版权所有</em>
		   </p>
	   </div>
	   </div>

<!--footer 友情链接结束-->
{block name="jqjs1"}
{js href="/static/index/js/jquery.js"}
{js href="/static/index/js/jquery.min.js"}
{/block}
{js href="/static/index/js/bootstrap.min.js"}
</body>
</html>

